@model Coowork.Data.Mapping.CooTaskComment

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>CooTaskComment</legend>

    <div class="display-label">Body</div>
    <div class="display-field">@Model.Body</div>

    <div class="display-label">Creator</div>
    <div class="display-field">@Model.Creator</div>

    <div class="display-label">CreateTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreateTime)</div>

    <div class="display-label">TaskId</div>
    <div class="display-field">@Model.TaskId</div>

    <div class="display-label">ParentId</div>
    <div class="display-field">@Model.ParentId</div>

    <div class="display-label">NeedFeedback</div>
    <div class="display-field">@Model.NeedFeedback</div>

    <div class="display-label">Qer</div>
    <div class="display-field">@Model.Qer</div>

    <div class="display-label">deleted</div>
    <div class="display-field">@Model.deleted</div>

    <div class="display-label">CooTask</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.CooTask).ToString()</div>

    <div class="display-label">CooTaskComments1</div>
    <div class="display-field">@(Model.CooTaskComments1 == null ? "None" : Model.CooTaskComments1.Count.ToString())</div>

    <div class="display-label">CooTaskComment1</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.CooTaskComment1).ToString()</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


